<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>编辑借阅记录</title>
    <#assign path="${springMacroRequestContext.getContextPath()}">
    <link rel="stylesheet" href="${path}/layui/css/layui.css" media="all">
</head>
<body>
<form class="layui-form" action="" id="ajaxForm">
    <br>
    <br>
    <input type="text" name="borrowId"  value=${borrowing.borrowId} hidden>
<!--    <div class="layui-form-item">-->
<!--        <label class="layui-form-label">归还情况</label>-->
<!--        <div class="layui-input-block">-->
<!--            <input type="text" name="returnBook" lay-verify="title" autocomplete="off" placeholder="请修改归还情况"-->
<!--                   class="layui-input" required style="width: auto;"  value="${borrowing.returnBook}">-->
<!--        </div>-->
<!--    </div>-->
    <div class="layui-form-item" style="width: 300px">
        <label class="layui-form-label">归还情况</label>
        <div class="layui-input-block" >
            <select name="returnBook" lay-verify="required">
                <#if borrowing.returnBook == "未归还">
                <option value="未归还">未归还</option>
                <option value="已归还">已归还</option>
                <#else>
                <option value="已归还">已归还</option>
                <option value="未归还">未归还</option>
            </#if>
            </select>
        </div>
    </div>
</form>
<script src="${path}/layui/layui.js"></script>
<script>
    layui.use('form', function () {
        var form = layui.form;
        form.render();
    });
</script>
</body>
</html>